package recommenRatings.domain;

import java.util.Collection;

import recommenRatings.utils.UIDGenerator;

public class Place {

	private String placeID;
	private String name;
	private String address;
	private String phoneNumber;
	private String city;
	private String state;
	private String fax;
	private String web;
	private String price;
	private String type;
	private String subType;
	private Collection<Opinion> opinions;
	private Collection<Photo> photos;

	public Place(String name, String address,
			String phoneNumber, String city, String state, String fax,
			String web, String price, String type, String subType) {
		super();
		this.placeID = UIDGenerator.getInstance().getKey();
		this.name = name;
		this.address = address;
		this.phoneNumber = phoneNumber;
		this.city = city;
		this.state = state;
		this.fax = fax;
		this.web = web;
		this.price = price;
		this.type = type;
		this.subType = subType;
		this.opinions = null;
		this.photos = null;
	}

	public Place() {
		super();
		this.placeID = null;
		this.name = null;
		this.address = null;
		this.phoneNumber = null;
		this.city = null;
		this.state = null;
		this.fax = null;
		this.web = null;
		this.price = null;
		this.type = null;
		this.subType = null;
		this.opinions = null;
		this.photos = null;
	}

	public String getPlaceID() {
		return placeID;
	}

	public void setPlaceID(String placeID) {
		this.placeID = placeID;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getWeb() {
		return web;
	}

	public void setWeb(String web) {
		this.web = web;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSubType() {
		return subType;
	}

	public void setSubType(String subType) {
		this.subType = subType;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCity() {
		return city;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getState() {
		return state;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getPrice() {
		return price;
	}

	public void setOpinions(Collection<Opinion> opinions) {
		this.opinions = opinions;
	}

	public Collection<Opinion> getOpinions() {
		return opinions;
	}

	public void setPhotos(Collection<Photo> photos) {
		this.photos = photos;
	}

	public Collection<Photo> getPhotos() {
		return photos;
	}

}
